package com.aibaixun.common.constant;

/**
 * 应用常量
 *
 * @author zhangyh
 * @create 2022-02-25
 **/
public final class CommonConstants {
    /** 手机验证码长度 */
    public static final int SMS_CODE_LENGTH = 6;
    /** 手机验证码Redis存储前缀 */
    public static final String REDIS_SMS_CODE_PREFIX = "sms-code:";
    /** 手机验证码Redis存储前缀 */
    public static final String REDIS_MEMBER_TOKEN_PREFIX = "member-token:";
    /** 平台配置存储在Redis中的前缀 */
    public static final String REDIS_PLATFORM_CONFIG_PREFIX = "platform-config:";
    /** 数据库及Redis中配置项Key：腾讯云secretId */
    public static final String PLATFORM_CONFIG_SECRET_ID  = "tencentcloud_secretId";
    /** 数据库及Redis中配置项Key：腾讯云secretKey */
    public static final String PLATFORM_CONFIG_SECRET_KEY = "tencentcloud_secretKey";
    /** 数据库及Redis中配置项Key：腾讯云短信sdkAppId */
    public static final String PLATFORM_CONFIG_SDK_APP_ID = "tencentcloud_sms_sdkAppId";
    /** 数据库及Redis中配置项Key：腾讯云短信signName */
    public static final String PLATFORM_CONFIG_SIGN_NAME  = "tencentcloud_sms_signName";
    /** 数据库及Redis中配置项Key：腾讯云短信apiRegion */
    public static final String PLATFORM_CONFIG_API_REGION = "tencentcloud_sms_apiRegion";
    /** 数据库及Redis中配置项Key：腾讯云短信-手机验证码templateId */
    public static final String PLATFORM_CONFIG_PHONE_CODE = "tencentcloud_sms_templateId_phone_code";

}
